package com.zzj.service;

import com.github.pagehelper.PageInfo;
import com.zzj.bean.OrdersBean;
import com.zzj.utils.Result;

import java.util.Map;

public interface OrdersService {
    /**
     * 销售内勤添加订单
     * @param map
     * @return
     */
    Result addOrders(Map map);

    /**
     * 查询所有订单,并分页
     * @return
     */
    PageInfo<OrdersBean> findAll(int pageNum,int pageSize);

    Result queryCountByOoid(int ooid);
}
